<script setup lang="ts">
import requestUtil from '@/unit/request.ts'
import type {AxiosResponse} from 'axios'

// async function handleLogin() {
//   let data = await requestUtil.get("/api/user/test")
//   console.log("data:", data)
// }
async function handleLogin() {
  let data = await requestUtil.get("/api/user/jwt_test")
  console.log("data:",data.data )
}


</script>

<template>
  <div>
    <el-button type="primary" @click="handleLogin">测试登录</el-button>
    <!--    <el-button type="danger" @click="handleUserList">测试获取⽤户列表信息</el-button>-->
  </div>
</template>

<style scoped lang="scss">

</style>
